home *** CD-ROM | disk | FTP | other *** search
- /*
- MATLABMain.h
-
- Obsolete!!! Delete this file and all references to _MATLABMAIN_.
-
- Old advice: This header allocates space for QuickDraw globals for use by THINK C MATLAB
- projects. It should be #included in the main C file of each THINK C MATLAB
- project, i.e. in the C file that contains "mexFunction". It must be
- included in exactly one source file of each project, as the THINK C Linker will
- otherwise complain.
-
- New advice: add CheckConfig.c to all your THINK C MEX projects. Delete MATLABMain.h.
- CheckConfig.c in the Psychophysics Toolbox, available from:
- http://psych.ucsb.edu/pub/users/brainard/software/
-
- HISTORY:
- 93 dhb wrote it
- 9/15/93 dgp extracted it from VideoToolbox.h
- 8/30/96 dhb changes for CW C.
- 10/2/96 dgp deleted obsolete comments
- 3/9/97 dgp updated comments
- 3/22/97 dgp all contents transferred to CheckConfig.c in the Psychophysics Toolbox.
- 4/2/97 dgp Add #error message.
- */
- #pragma once
- #ifndef _MATLABMAIN_
- #define _MATLABMAIN_
- #error "MATLABMain.h is obsolete. Don't include it. Instead add the Psychophysics Toolbox PsychLibSources file CheckConfig.c to your project."
- #endif
-